package cn.hxzy.common.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClassTableVo {
    //班级编号
    private Integer classId;
    //班级名称
    private String className;
    //创建人id
    private Integer createId;
    //创建时间
    private LocalDateTime createTime;
    //学校编号
    private Integer schoolId;
    //班级老师
    private List<TeacherVo> classTeacher;

    public ClassTableVo(Integer classId, String className, Integer createId, LocalDateTime createTime, Integer schoolId) {
        this.classId = classId;
        this.className = className;
        this.createId = createId;
        this.createTime = createTime;
        this.schoolId = schoolId;
    }
}
